package com.easy.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easy.common.bean.UserBean;
import com.easy.common.util.MonthGrowthVO;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

public interface IUserService {
    UserBean getUserById(Integer id);
    UserBean getUserByNickName(String nickname);
    int addUser(UserBean user);
    int uploadUser(UserBean user);
    int deleteUser(Integer id);
    int reverseStatus(Integer id);
    List<UserBean> getAll(UserBean user);
    IPage<UserBean> getPage(UserBean user, Page<UserBean> page);
    List<MonthGrowthVO> getMonthlyUserGrowth();

}
